<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>留学生管理系统</title>
        <link rel="stylesheet" href="${path}/css/admin2.css">
        <link rel="stylesheet" href="${path}/css/coursemanage-kb.css">
        <style>
            table{
                border: 0;
            }
            table th, table td{
                border: 0;
                text-align: left;
            }
            label{
                display: inline-block;
                width: 130px;
                font-weight: 700;
            }
            td:nth-child(odd) label{
                margin-left: 25%;
            }
            input{
                width:188px;
                height:30px;
            }
            select{
                width:194px;
                height:38px;
            }
            .Wdate{
                border: #666 1px solid !important;
                width: 190px;
                height: 32px !important;
            }
        </style>
        <script>
            var _current_item = "#adminstumanage";
        </script>
        <script type="text/javascript" src="${path}/js/jquery.min.js"></script>
    </head>
    <body>
        <!--header-->
        <div id="header"></div>
        <div id="main">
            <div id="side-menu"></div>
            <div id="container">
                <div id="inner-border">
                    <form action="${path}/adminstumanage/submit" method="post" name="addForm" >
                        <table class="table table-striped">

                            <tr>
                                <td>
                                    <label style="margin-left:25%">学号</label>
                                    <input type="text" name="studentInfo.sNo" id="sNo" >
                                </td>
                                <td>
                                    <label >护照号</label>
                                    <input type="text" placeholder="必填" name="studentInfo.passportNo" id="passportNo" required="required">
                            </tr>

                            <tr>
                                <td>
                                    <label style="margin-left:25%">姓</label>
                                    <input type="text" placeholder="必填" name="studentInfo.lastName" id="lastName" required="required">
                                </td>
                                <td>
                                    <label >名</label>
                                    <input type="text" placeholder="必填" name="studentInfo.firstName" id="firstName" required="required">
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <label style="margin-left:25%">国籍</label>
                                    <input type="text" placeholder="必填" name="studentInfo.nationality" id="nationality" required="required">
                                </td>
                                <td>
                                    <label>性别</label>
                                    <select name="studentInfo.sex"  id="sex">
                                        <option  value="male">男</option>
                                        <option  value="female">女</option>
                                    </select>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <label style="margin-left:25%">专业</label>
                                    <!-- <input type="text" placeholder="必填"name="studentInfo.majorName" id="majorName" required="required"> -->
                                    <select name="studentInfo.majorName" id="majorName" required="required">
                                        <#if majorName?exists>
                                        <#list majorName as mn>
                                        <option value="${mn.majorName}">${mn.majorName}</option>
                                        </#list>
                                        </#if>
                                    </select>
                                </td>
                                <td>
                                    <label>班级：</label>
                                    <!-- <select name="studentInfo.class"> -->
                                         <input type="text" placeholder="必填" name="studentInfo.class" value="" required="required">
                                   <!--  </select> -->
                                </td>
                               
                            </tr>

                            <tr>
                                <td>
                                    <label style="margin-left:25%">入学年份</label>
                                    <input type="text" placeholder="必填" name="studentInfo.eduStartDate" id="eduStartDate" required="required">
                                </td>
                                <td>
                                    <label>入学季度</label>
                                    <input type="text" placeholder="必填" name="studentInfo.eduSeason" id="eduSeason" required="required">
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <label style="margin-left:25%">中文名</label>
                                    <input type="text" name="studentInfo.chineseName">
                                </td>
                                <td>
                                    <label>出生日期</label>
                                    <input type="text" name="studentInfo.birthday" class="Wdate" id="birthday" onClick="WdatePicker({dateFmt: 'yyyy-MM-dd'})">
                                </td>
                            </tr>

                            <tr>
                                <td> 
                                    <label style="margin-left:25%">联系电话</label>
                                    <input type="text" name="studentInfo.phone">
                                </td>
                                <td>
                                    <label>邮箱地址</label>
                                    <input type="text" name="studentInfo.mailbox">
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <label style="margin-left:25%">宿舍号</label>
                                    <input type="text" name="studentInfo.dormitoryNo">
                                </td>
                                 <td>
                                    <label>签证到期日</label>
                                    <input type="text" placeholder="必填" name="studentInfo.visaEndDate" id="visaEndDate" class="Wdate" onClick="WdatePicker({dateFmt: 'yyyy-MM-dd'})" required="required">
                                </td>
                               
                            </tr>
                            <tr> <td>
                            <label>
                                    <button type="submit">提交</button>
                                    </label>
                                </td></tr>
                        </table>
                        <input type="hidden" name="studentInfo.studentStatus" value="0">
                    </form>
                </div>
                <div id="footer"></div>
            </div>
        </div>
        <script type="text/javascript" src="${path}/js/admin-main-appearance.js"></script>
        <script type="text/javascript" src="${path}/js/My97DatePicker/WdatePicker.js"></script>
    </body>
</html>